
'''
·两个集合是否没有交集
·可以调用方法  isdisjoint() 进行判断'''
s1={10,20,30,40,50,60}
s2={10,20,30,40}
s3={10,20,90}
s4={100,200,300}
print(s2.isdisjoint(s3)) #有交集为False
print(s2.isdisjoint(s4))#没有交集为True
